<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="description" content="对网页的一段概括性描述" />
<meta name="keywords" content="关键字1,关键字2,关键字3..." />
<meta name="renderer" content="webkit">
<title>职位详细信息</title>
<link rel="shortcut icon"
	href="<%=request.getContextPath()%>/static/common/images/favicon.ico" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/static/common/vendor/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
	      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
	      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
<style>
body {
	width: 1000px;
}

.namespan {
	font-size: 20px;
	font-weight: bold;
}

.container {
	width: 500px;
	margin-left: 400px;
}

.fontSize {
	font-size: 25px;
}
</style>
</head>
<body>
	<div style="margin-top: 9px; margin-left: 817px;">
		<c:if test="${! empty talentEntity }">
			<span style="color: green">欢迎你&nbsp;!&nbsp;${sessionScope.talentEntity.name }</span>
		</c:if>
		<c:if test="${empty talentEntity }">
			<a
				href="<%=request.getContextPath()%>/CompanyServlet?command=goHomepageUI"><span
				style="color: red">你还没有登录，请登录！</span></a>
		</c:if>
	</div>
	<div style="margin-left: 50%; margin-top: 100px">
		<p class="bg-info fontSize" style="width: 500px">所属公司:${homepagePositionDateilInfo.companyName}</p>
		<p class="bg-warning fontSize" style="width: 500px">职位名称:${homepagePositionDateilInfo.name}</p>
		<p class="bg-danger fontSize" style="width: 500px">职
			责:${homepagePositionDateilInfo.duty}</p>
		<p class="bg-info fontSize" style="width: 500px">所需能力:${homepagePositionDateilInfo.ability}</p>
		<p class="bg-success fontSize" style="width: 500px">薪
			资:${homepagePositionDateilInfo.salary1}~${homepagePositionDateilInfo.salary2}</p>
		<p class="bg-info fontSize" style="width: 500px">发布时间:${fn:substring(homepagePositionDateilInfo.releaseTime,0,19) }</p>
		<form method="post" action="<%=request.getContextPath()%>/ApplicationServlet?command=applicationResume&positionId=${homepagePositionDateilInfo.id}&talentId=${sessionScope.talentEntity.id }">
			<select name="aaa" onchange="go(this)">
				<option selected>请选择要投递简历</option>
				<c:forEach items="${resumeEntityList }" var="resumeEntityList">
					<option  value="${resumeEntityList.id }" >${resumeEntityList.intention }</option>
				</c:forEach>
			</select>

			<button type="submit" class="btn btn-lg btn-success">提交简历</button>
			<a class="btn btn-lg btn-success" href="<%=request.getContextPath()%>/TalentServlet?command=login&code=${talentEntity.code}&password=${talentEntity.password}">查看申请情况</a>
			<button type="button" class="btn btn-lg btn-default"
				onclick="history.back();">返 回</button>
		</form>
	</div>

	<script>
		
	</script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/jquery.min.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/bootstrap/js/bootstrap.min.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/layer/layer.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/nice-validator-1.0.7/dist/jquery.validator.min.js?local=zh-CN"></script>
</body>
</html>
